package com.itheima_01.day07.KuoZhanZuoYe_01;

public class Cat {
    private String color;
    private String breed;


    public void eat() {
        System.out.println("正在逮老鼠...");
    }

    public void catchMouse() {

    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getBreed() {
        return breed;
    }

    public void setBreed(String breed) {
        this.breed = breed;
    }

    public Cat() {
        System.out.println("正在吃鱼...");
    }

    public Cat(String color, String breed) {
        this.color = color;
        this.breed = breed;
        System.out.print(getColor()+"的"+getBreed());
        new Cat();
    }


}
